package com.yanqu.road.entity.config.passroad;

import com.yanqu.road.utils.property.Property;

/**
 * @Author wpj
 * @Date 2020/11/27
 */
public class BackEndPassRecord {
    Property bossReward = new Property();
    Property normalReward = new Property();
    Property cost = new Property();
    int eventNum;
    // 停止原因，对应错误码，0表示客户端自己停止
    int stopReason = 0;
    int autoBuyBuffTimes;
    int autoItemBuyBuffTimes;
    boolean hadBackend = false;
    int startPassId;
    int startSessionId;
    int endPassId;
    int endSessionId;

    public void reset() {
        bossReward = new Property();
        normalReward = new Property();
        cost = new Property();
        eventNum = 0;
        stopReason = 0;
        autoBuyBuffTimes = 0;
        autoItemBuyBuffTimes = 0;
        hadBackend = false;
        startPassId = 0;
        startSessionId= 0;
        endPassId = 0;
        endSessionId = 0;
    }

    public Property getBossReward() {
        return bossReward;
    }

    public void setBossReward(Property bossReward) {
        this.bossReward = bossReward;
    }

    public Property getNormalReward() {
        return normalReward;
    }

    public void setNormalReward(Property normalReward) {
        this.normalReward = normalReward;
    }


    public int getEventNum() {
        return eventNum;
    }

    public void setEventNum(int eventNum) {
        this.eventNum = eventNum;
    }

    public Property getCost() {
        return cost;
    }

    public void setCost(Property cost) {
        this.cost = cost;
    }

    public int getStopReason() {
        return stopReason;
    }

    public void setStopReason(int stopReason) {
        this.stopReason = stopReason;
    }

    public int getAutoBuyBuffTimes() {
        return autoBuyBuffTimes;
    }

    public void setAutoBuyBuffTimes(int autoBuyBuffTimes) {
        this.autoBuyBuffTimes = autoBuyBuffTimes;
    }

    public int getAutoItemBuyBuffTimes() {
        return autoItemBuyBuffTimes;
    }

    public void setAutoItemBuyBuffTimes(int autoItemBuyBuffTimes) {
        this.autoItemBuyBuffTimes = autoItemBuyBuffTimes;
    }

    public boolean isHadBackend() {
        return hadBackend;
    }

    public void setHadBackend(boolean hadBackend) {
        this.hadBackend = hadBackend;
    }

    public int getStartPassId() {
        return startPassId;
    }

    public void setStartPassId(int startPassId) {
        this.startPassId = startPassId;
    }

    public int getStartSessionId() {
        return startSessionId;
    }

    public void setStartSessionId(int startSessionId) {
        this.startSessionId = startSessionId;
    }

    public int getEndPassId() {
        return endPassId;
    }

    public void setEndPassId(int endPassId) {
        this.endPassId = endPassId;
    }

    public int getEndSessionId() {
        return endSessionId;
    }

    public void setEndSessionId(int endSessionId) {
        this.endSessionId = endSessionId;
    }
}
